projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddffd1e
)
[XEND] Fix typos in vfb/vnc detect in image.py
author
Alastair Tse
<atse@xensource.com>
Wed, 31 Jan 2007 15:22:33 +0000
(15:22 +0000)
committer
Alastair Tse
<atse@xensource.com>
Wed, 31 Jan 2007 15:22:33 +0000
(15:22 +0000)
Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/xend/image.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/image.py
b/tools/python/xen/xend/image.py
index eeb8bd0ebda2f268336ed5c7d2d20d3540aea622..e1f87e1e8f7aecec3de48837994eb804c7dca771 100644
(file)
--- a/
tools/python/xen/xend/image.py
+++ b/
tools/python/xen/xend/image.py
@@
-450,10
+450,10
@@
class HVMImageHandler(ImageHandler):
vnc_config = {}
has_vfb = False
- has_vnc = int(vmConfig['image'].get('vnc')) != 0
+ has_vnc = int(vmConfig['image'].get('vnc'
, 0
)) != 0
for dev_uuid in vmConfig['console_refs']:
- dev_type, dev_info = vmConfig['devices'][devuuid]
- if dev_type == '
r
fb':
+ dev_type, dev_info = vmConfig['devices'][dev
_
uuid]
+ if dev_type == '
v
fb':
vnc_config = dev_info.get('other_config', {})
has_vfb = True
break